package com.fg.pro.sys;

import com.baomidou.mybatisplus.autoconfigure.DdlApplicationRunner;
import org.springframework.beans.factory.ObjectProvider;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.http.HttpMessageConverters;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.util.stream.Collectors;

@EnableFeignClients(basePackages = "com.fg.pro.model.feign")
@EnableTransactionManagement
@SpringBootApplication
@ComponentScan("com.fg.pro")
@EnableDiscoveryClient
public class FgServiceSysApplication {

    public static void main(String[] args) {
        SpringApplication.run(FgServiceSysApplication.class, args);
    }

}
